extends ../public/layout
block title
    title 购物车
block content
    .am-g.good-box.am-padding-sm
        .am-u-sm-1.am-padding-left-0
            i.am-block.unchecked-icon
        .am-u-sm-4.am-padding-0
            img.am-img-responsive.cart-img(src="../../public/images/good1.jpg")
        .am-u-sm-7.am-padding-0
            p.am-text-justify Swisse护发护肤护甲口服液500ml支持胶原蛋白生成
            .am-u-sm-12.am-padding-0
                span.money-font.xl-font-size.am-fl ￥129
                p.am-inline-block.am-margin-0.am-padding-left
                    i.am-inline-block.plus-icon
                    input.am-inline-block.goodCount(type='number' value=2)
                    i.am-inline-block.cut-icon
                i.am-block.delete-icon.am-fr
    .am-g.good-box.am-padding-sm
        .am-u-sm-1.am-padding-left-0
            i.am-block.unchecked-icon
        .am-u-sm-4.am-padding-0
            img.am-img-responsive.cart-img(src="../../public/images/good1.jpg")
        .am-u-sm-7.am-padding-0
            p.am-text-justify Swisse护发护肤护甲口服液500ml支持胶原蛋白生成
            .am-u-sm-12.am-padding-0
                span.money-font.xl-font-size.am-fl ￥100
                p.am-inline-block.am-margin-0.am-padding-left
                    i.am-inline-block.plus-icon
                    input.am-inline-block.goodCount(type='number' value=1 min=1)
                    i.am-inline-block.cut-icon
                i.am-block.delete-icon.am-fr
    .am-g.good-box.am-padding-sm
        .am-u-sm-1.am-padding-left-0
            i.am-block.unchecked-icon
        .am-u-sm-4.am-padding-0
            img.am-img-responsive.cart-img(src="../../public/images/good1.jpg")
        .am-u-sm-7.am-padding-0
            p.am-text-justify Swisse护发护肤护甲口服液500ml成
            .am-u-sm-12.am-padding-0
                span.money-font.xl-font-size.am-fl ￥98.5
                p.am-inline-block.am-margin-0.am-padding-left
                    i.am-inline-block.plus-icon
                    input.am-inline-block.goodCount(type='number' value=5 min=1)
                    i.am-inline-block.cut-icon
                i.am-block.delete-icon.am-fr
    .am-g#buyBox
        .am-u-sm-4.common-font.md-font-size#selAll
            i.am-inline-block.unchecked-icon
            | &nbsp;全选
        .am-u-sm-4
            p.am-margin-bottom-0.sm-font-size.pure-gray-font.am-text-right 合计
                span.money-font.xl-font-size.totalMoney ￥0
        .am-u-sm-4.am-padding-0
            button.am-btn.red-btn 结算

    #delete.am-modal.am-modal-confirm(tabindex='-1')
        .am-modal-dialog
            .am-modal-bd
                | 确认删除该商品吗
            .am-modal-footer
                span.am-modal-btn(data-am-modal-cancel='') 取消
                span.am-modal-btn(data-am-modal-confirm='') 确认

block script_for_currentPage
    script(src="../../bower_components/amazeui/dist/js/amazeui.min.js" type="text/javascript")
    script(src="../../public/javascripts/cartAndpay/cart.js" type="text/javascript")
    script(type='text/javascript').
            $(function () {
                cart.init();
            });

